package com.cipe.cmrs.model;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * <p>
 * Pojo mapping TABLE dbo.paymenttype
 * </p>
 * 
 * <p>
 * Generated at Thu Dec 29 11:59:34 PKT 2011
 * </p>
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "paymenttype")
@SuppressWarnings("serial")
public class Paymenttype extends BaseAuditEntity {

	/**
	 * Attribute paymenttypename.
	 */
	private String paymenttypename;

	/**
	 * Attribute paymenttypedesc.
	 */
	private String paymenttypedesc;

	/**
	 * List of Paymentrequest
	 */
	@OneToMany(mappedBy = "paymenttype")
	private List<Paymentrequest> paymentrequests = null;
	
	@Column(name = "status", length = 1)
	private String status;

	public String getPaymenttypename() {
		return paymenttypename;
	}

	public void setPaymenttypename(String paymenttypename) {
		this.paymenttypename = paymenttypename;
	}

	public String getPaymenttypedesc() {
		return paymenttypedesc;
	}

	public void setPaymenttypedesc(String paymenttypedesc) {
		this.paymenttypedesc = paymenttypedesc;
	}

	public List<Paymentrequest> getPaymentrequests() {
		return paymentrequests;
	}

	public void setPaymentrequests(List<Paymentrequest> paymentrequests) {
		this.paymentrequests = paymentrequests;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}